<?php
$name=$_GET['name'];
$pass=$_GET['pass'];

$link=mysqli_connect('127.0.0.1','root','root','mi');

$sql="INSERT INTO `login` (`name`,`pass`) VALUES ('$name','$pass')";

$result=mysqli_query($link,$sql);

mysqli_close($link);

?>

